$(document).ready(function(){
	$('#test').click(function(){
		$.ajax({
			type:"post",
			url:"StudentMessageService/test",
			contentType:'application/x-www-form-urlencoded',
			dataType:"json",
			async:true,
			data:{
//				Map<String,String> message;
//				Map<String,String> conditions;
//				Map<String,String> newMessage;
//				List<Map<String,String>> messageList;
//				String flag;
//				boolean direction;
				"flag":"数计学院##",
				"message":{"1":"6","2":"4","x":"y"},
				"conditions":{"11":"6","22":"4","xx":"y"},
				"newMessage":{"111":"6","222":"4","xxx":"y"},
				"direction":false,
				"messageList":[
					{"zz":"6","22":"4","xx":"y"},
					{"zzz":"6","222":"4","xxx":"y"}
				]
			},
			success:function(data){
				
			},
			error:function(){
				
			}
		});
	});
	
	
	
	$('#test2').click(function(){
		$.ajax({
			type:"post",
			url:"StudentMessageService/addMsg2",
			contentType:'application/x-www-form-urlencoded',
			dataType:"json",
			async:true,
			data:{
				"flag":"数计学院##",
				"message":{"1":"6","2":"4","x":"y"}
			},
			success:function(data){
				
			},
			error:function(){
				
			}
		});
	});
	
	$('#test3').click(function(){
		$.ajax({
			type:"post",
			url:"StudentMessageService/addMsg3",
			contentType:'application/x-www-form-urlencoded',
			dataType:"json",
			async:true,
			data:{
				"flag":"数计学院##",
				"message":{"1":"6","2":"4","x":"y"}
			},
			success:function(data){
				
			},
			error:function(){
				
			}
		});
	});
	
	
	
});
































